package com.example.cwfdemo.exception;


import com.example.cwfdemo.enums.ExceptionEnum;
import lombok.Getter;

/**
 * @author Carson
 * @date 2018/9/15
 *
 * 自定义异常类
 */
@Getter
public class CwfException extends RuntimeException {

    private ExceptionEnum exceptionEnum;

    public CwfException(ExceptionEnum exceptionEnum) {
        this.exceptionEnum = exceptionEnum;
    }


}
